<script>
	export default {
		//全局变量 nvue访问
		globalData: {
			serverUrl: "http://www.brainseek.cn:8000"
			// serverUrl:"http://192.168.1.105:8800"
		},
		onLaunch: function() {
			console.log('App Launch')
			var color = plus.android.newObject('android.graphics.Color');
			var ac = plus.android.runtimeMainActivity();
			var c2int = plus.android.invoke(color, 'parseColor', '#ffffff');
			var win = plus.android.invoke(ac, 'getWindow');
			plus.android.invoke(win, 'setNavigationBarColor', c2int);
			plus.android.invoke(win, 'setTabBarStyle', c2int);
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*#ifndef APP-NVUE*/
	/*每个页面公共css */
	@import "uview-ui/index.scss";
	page{
		width:100%;
		height: 100%;
	}
	.content{
		// background-color: #F5F5F9;
	}
	/*#endif*/
</style>
